﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace tour.szhome.common
{
    public class StringHelper
    {
        public static string ConvertLBToStr(int lbnum)
        {
            switch (lbnum)
            {
                case 0:
                    return "滨海资源";
                case 1:
                    return "温泉资源";
                case 2:
                    return "湖泊资源";
                case 3:
                    return "山林资源";
                case 4:
                    return "高尔夫资源";
                case 5:
                    return "主题公园资源";
                default:
                    return "";
            }
        }

        public static string ConvertLXToStr(int lxnum)
        {
            switch (lxnum)
            {
                case 0:
                    return "普通住宅";
                case 1:
                    return "公寓";
                case 2:
                    return "酒店式公寓";
                case 3:
                    return "独栋别墅";
                case 4:
                    return "双拼别墅";
                case 5:
                    return "联排别墅";
                case 6:
                    return "叠加别墅";
                case 7:
                    return "商业";
                default:
                    return "";
            }
        }
    }
}
